﻿using EONFULLSIN2.Models.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace EONFULLSIN2.Models.Dto.User
{
    /// <summary>
    /// 用户
    /// </summary>
    public class UserDto : Entity.User.User
    {
        /// <summary>
        /// 名称
        /// </summary>
        public new string Name { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public new string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public new string PassWord { get; set; }

        /// <summary>
        /// 权限等级
        /// </summary>
        public new eRoleTypeEnum Rank { get; set; }

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public new DateTime LastLoginTime { get; set; }

        /// <summary>
        /// 是否管理员
        /// </summary>
        public new bool IsAdmin { get; set; } = false;

        /// <summary>
        /// 状态
        /// </summary>
        public new bool Status { get; set; } = true;

        /// <summary>
        /// 排序
        /// </summary>
        public new int Soft { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public new bool Selected { get; set; }

    }
}
